// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import store from './store/store.js';
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
import './config/global.js'
Vue.use(Mint)
Vue.use(store)
//Vue.use(axios);//注意 这样的用法是有问题的，axios不支持Vue.use()的声明方式
Vue.config.productionTip = false
Vue.prototype.$http = axios
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  axios,
  Mint,
  components: { App },
  template: '<App/>'
})
